]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspaceThumbnail: Fix size request signatures
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 21 Apr 2016 11:23:22 +0000 (13:23 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 21 Apr 2016 14:04:04 +0000 (16:04 +0200)
ClutterLayoutManager's size request methods have an additional container
argument before the for-width/height parameters compared to ClutterActor.

https://bugzilla.gnome.org/show_bug.cgi?id=763068

js/ui/workspaceThumbnail.js

index 2fa66eab4902791581f1e3c7ed4270f21d15a337..980ffd665dcf8de4f4c4993aaed60767c9b22e9f 100644 (file)
@@ -45,11 +45,11 @@ const PrimaryActorLayout = new Lang.Class({
         this.primaryActor = primaryActor;
     },
 
-    vfunc_get_preferred_width: function(forHeight) {
+    vfunc_get_preferred_width: function(container, forHeight) {
         return this.primaryActor.get_preferred_width(forHeight);
     },
 
-    vfunc_get_preferred_height: function(forWidth) {
+    vfunc_get_preferred_height: function(container, forWidth) {
         return this.primaryActor.get_preferred_height(forWidth);
     },
 });